﻿@model ProjectManager.Models.User

<h2>User Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>User</legend>

    <div class="display-label">User Name</div>
    <div class="display-field">@Model.UserName</div>

	<div class="display-label">E-mail</div>
    <div class="display-field">@Model.Email</div>

	<div class="display-label">Role</div>
    <div class="display-field">@Model.Role</div>

	<div class="display-label">Comment</div>
    <div class="display-field">@Model.Comment</div>

	<div class="display-label">Locked Out</div>
    <div class="display-field">@Model.IsLockedOut</div>

    <div class="display-label">Creation Date</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreationDate)</div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


